package shenjie;

import java.applet.Applet;
import java.applet.AudioClip;
import java.net.MalformedURLException;
import java.net.URL;



public class Music{
	public static void main(String args[]){
		AudioClip sound;
		URL url;
		try{
			url=new URL("file:\\C:\\Users\\son-god\\Desktop\\20736.mid");
			sound=Applet.newAudioClip(url);
			sound.loop();
			System.out.print(url);
			
		}catch(MalformedURLException e){
			e.printStackTrace();
		}
	}
}